package com.hava.contentsale.meta;

import com.hava.contentsale.utils.OutputObject;

/**
 * Created by yanfa on 2016/11/15.
 *  用户的视图对象，用户保存在session中，id作为一些查询内容的重要参数
 * 这里添加user.id，是由于productVO搜索时，需要user_id作为参数，才能够判断是否为isBuy
 */
public class UserVO extends OutputObject{

    long id;

    String username;

    byte usertype;

    // Getter and Setter


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public byte getUsertype() {
        return usertype;
    }

    public void setUsertype(byte usertype) {
        this.usertype = usertype;
    }
}
